package com.woniu.exception.orderInfo;

public enum OrderInfoExceptionCode {
    ORDER_INFO_ORDER_NOT_EXIST(30001, "订单不存在"),
    ORDER_INFO_STATE_ERROR(30002, "订单状态错误"),
    ;


    private final Integer code;
    private final String message;

    OrderInfoExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
